const Service = require("egg").Service
class UserService extends Service {
    async isLogin() {
        if (this.ctx.session.uid) {
            return true
        }
        return false

    }
}
module.exports = UserService;
